<?php
namespace app\api\controller;

use app\api\model\GameModel;
use think\Controller;
class Game extends Controller
{
    function gamedetail() {
        $gameid = input('get.gameid');
        $model = new GameModel();
        $result = $model->gamedetail($gameid);
        return json_encode($result);
    }

}